<template>
    <div id="nav">
        <div>
            <router-link to="/home" active-class="active">推荐</router-link>
            <router-link to="/ranking" active-class="active">排行</router-link>
            <router-link to="/SongSheet" active-class="active">歌单</router-link>
            <router-link to="/user_info" active-class="active">我的</router-link>
        </div>
    </div>
</template>
<script>
export default {
}
</script>

<style scoped>
#nav>div:nth-child(1) {
    background-color: #304a63;
    position: fixed;
    top: 0;
    z-index: 10;
    display: flex;
    height: 38px;
    width: 100%;
    align-items: center;
}

#nav>div:nth-child(1)>a {
    flex: 1;
    text-align: center;
    height: 100%;
    line-height: 3;
    color:#bfcdd7;
    font-size:13px;
}

#nav>div:nth-child(1)>a.active {
    color: #fcfcfc;
    border-bottom: 2px solid #fcfcfc;
}
</style>